#!/bin/bash
echo "请输入项目组名称： "
read group
echo "请输入项目名称: "
read Project
echo "请输入版本号及日期，例如 \" 1.0.5#2-1609251209 \":  "
read version
lftp << EOF
open ftp://neil.qiao:qiao@Pico123@192.168.97.85:8021
mkdir -p scmbuilds/qa/${group}/${Project}/main/`echo ${version} | awk -F "#" '{print $1}'`/${version}/exe
#get /scmbuilds/software/git相关/repo
cd scmbuilds/qa/${group}/${Project}/main/`echo ${version} | awk -F "#" '{print $1}'`/${version}/exe
put test.exe 
close
bye
EOF

